#pragma once

#include "CoreMinimal.h"
#include "WiiRemoteFunctionLibrary.generated.h"

UCLASS()
class UWiiRemoteFunctionLibrary : public UBlueprintFunctionLibrary
{
    GENERATED_BODY()

public:
    UFUNCTION(BlueprintCallable, Category = WiiRemote)
        static bool Connect();

    UFUNCTION(BlueprintCallable, Category = WiiRemote)
        static void Disconnect();

    UFUNCTION(BlueprintCallable, Category = WiiRemote)
    static void SetIREnabled(int32 ControllerId, bool IsEnabled);

    UFUNCTION(BlueprintCallable, Category = WiiRemote)
    static void SetMotionPlusEnabled(int32 ControllerId, bool IsEnabled);

    UFUNCTION(BlueprintCallable, Category = WiiRemote)
    static void SetMotionSensingEnabled(int32 ControllerId, bool IsEnabled);

    UFUNCTION(BlueprintCallable, Category = WiiRemote)
    static void SetRumbleEnabled(int32 ControllerId, bool IsEnabled);
};